package com.mezz.bones.user.application.repository;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mezz.bones.user.client.domain.entity.SysUser;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author mezz
 * @since 2025-07-09
 */
public interface ISysUserRepository extends IService<SysUser> {

    SysUser findByUserId(String userId);

    @DS("slaver")
    SysUser findByUserIdWithSlaver(String userId);
}
